home *** CD-ROM | disk | FTP | other *** search
- /vtadj{dup/vtd X{90}{-90}ifelse rotate}B
- /strpn{s75 cvs(|______)anchorsearch}B
- /nwf{count 1 roll dup maxlength dict begin cf FontType 0 ne{nmv{Encoding dup
- length array copy/Encoding X counttomark 2 idiv{Encoding 3 1 roll put}repeat}
- {Encoding 65 26 getinterval 0 mv 65 26 getinterval{3 copy pop get ne{exit}if
- 1 add}forall exch pop 26 eq{/Encoding mv def}if}ifelse}if currentdict end
- count -1 roll exch definefont pop}B
- /dfnt{
- /doall X/tpamt X/fnam X dup/pln X{/plnfnam X}if dup/bit X{cvn/bitfnam X}if
- dup 2 and 0 ne/bf1 X 4 and 0 ne/usangl X/nmv X
- FontDirectory fnam known not{fnam strpn{pop cvn doall{dup FontDirectory exch known}{T}ifelse
- {findfont fnam nwf F}{pop T}ifelse}{pop doall}ifelse{bit{FontDirectory bitfnam known{T}
- {bitfnam strpn{pop cvn dup FontDirectory exch known{findfont bitfnam nwf T}{pop F}ifelse}{pop F}
- ifelse}ifelse}{F}ifelse{/fnam bitfnam def}{pln{FontDirectory plnfnam known{/fnam plnfnam def F}
- {plnfnam strpn{pop cvn dup FontDirectory exch known{findfont plnfnam nwf/fnam plnfnam def F}
- {pop T}ifelse}{pop T}ifelse}ifelse}{T}ifelse{fnam strpn{pop cvn findfont fnam nwf}
- {pop}ifelse}if}ifelse}if}if
- nmv{cleartomark}if/sa X fnam findfont dup/fnt X/MFontType known
- not dup/nbm X{fnt/FontType get 0 eq{F}{fnt/PaintType 2 copy known
- {get 0 ne}{pop pop T}ifelse}ifelse}{T/usangl X T/bf1 X T}ifelse{/tpamt 0 def}if
- usangl sa 2 and 0 ne and/usangl X F/doss X
- sa 16 and 0 ne{fnt fnam sss sts 0 stlf}{sa 8 and 0 ne{fnt fnam sos sts 1 stlf}
- {sa 1 and 0 ne bf1 and{fnt fnam sbs sts 2 stlf}{tpamt 0 ne{fnt fnam sts 3 stlf}
- {nbm fnt/FontType get 0 ne and/doss X fnt}ifelse}ifelse}ifelse}ifelse
- [exch 0 usangl{1 add}if doss{2 add}if] far 3 1 roll put
- }B
- /t0{g s1 w 1 index 0 ne{3 1 roll add exch}{3 -1 roll pop}ifelse
- z4 z7 0 eq or z5 and nochdev not and{z7 0 eq nochp not and
- {mtx currentmatrix nulldevice z np 0 0 m s1 T charpath{flattenpath}stopped{F}
- {pathbbox 4 copy 3 -1 roll ne 3 1 roll ne and{T}{p4 F}ifelse}ifelse}{F}ifelse
- {T}{z4{z0 z1 z2 z3 T}{F}ifelse}ifelse}{F}ifelse G{10 -4 roll 4
- {5 -1 roll add 4 1 roll}repeat setcachedevice}{setcharwidth p4}ifelse}B
- /t1{g np 0 0 m o F charpath n G}B
- /newmm{dup/FontType get 0 eq
- {dup maxlength dict begin cf currentdict end dup/FDepVector 2 copy get
- [exch 6 index exch 6 index exch{newmm 3 1 roll}forall p2]put dup}
- {18 dict begin/FontMatrix[1 0 0 1 0 0]def/FontType 3 def
- /Encoding mv def/FontBBox[0 0 1 1]def/df 1 index def/df1 0 def
- 1 index 0 ge{/StyleCode 2 index def/TrapWidth tpamt def}if
- df/FontMatrix get 6a copy mark df/FontBBox get aload pop counttomark 4 eq
- {5 -1 roll pop 4 index dtransform/z3 X/z2 X 3 -1 roll dtransform/z1 X/z0 X T}
- {cleartomark pop F}ifelse/z4 X
- 1 index 0 ge{df/FontType get 3 ne}{F}ifelse/z5 X df/MFontType known not dup/z6 X
- {df/PaintType 2 copy known{get 0 eq{0}{1}ifelse}{pop pop 1}ifelse}{1}ifelse/z7 X
- /df1/q 6 dict begin/FontMatrix[1 0 0 1 0 0]def/FontType 3 def
- /Encoding mv def/FontBBox[0 0 1 1]def
- z7 0 eq{/BuildChar{pop begin xpwd begin df setfont
- d1 neg d1 neg d1 d1 0 t0 s1 d1 t1 end end}def}
- {/BuildChar{pop begin xpwd begin df setfont 0 0 d0 d0 0 t0
- s1 0 0 smc d0 0 smc d0 d0 smc 0 d0 m M end end}def}ifelse
- currentdict end definefont def
- /BuildChar{exch begin xpwd begin dup s1 0 3 -1 roll put z6 ss and
- {df/Encoding 2 copy known{get exch get dup/.notdef ne{df/CharStrings 2 copy known
- {get exch known not}{p3 T}ifelse}{pop T}ifelse}{p3 T}ifelse}{pop F}ifelse dup
- {symf begin xpwd begin}if bcar StyleCode 2 mul z7 add get exec{end end}if end end}def
- currentdict end}ifelse 3 index exch definefont exch pop}B
- /c{currentrgbcolor dup 4 1 roll eq 3 1 roll eq and{bkc 0 get 0 eq
- {1 currentgray sub H}{gtc}ifelse}{1 H}ifelse}B
- /bcar[
- {df setfont .05/d0 X
- TrapWidth .24 add psx div .012 2 copy lt{exch}if pop/d1 X
- g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
- s1 g d0 .01 add d0 vtd not{neg}if t 0 0 smc g df1 setfont 0 0 smc G G
- g c 0 0 smc G df1 setfont 0 0 m M}
-
- {df setfont 1 psx div dup/d0 X 2. div dup/d3 X .05 add/d2 X
- g s1 w G 1 index 0 ne{exch d2 add exch}if setcharwidth
- s1 g d2 .01 add d2 vtd not{neg}if t 0 0 smc G
- g df1 setfont 0 0 smc G c d3 d3 m M}
-
- {df setfont TrapWidth .24 add psx div .012 2 copy lt{exch}if pop/d1 X
- g s1 w G setcharwidth g c s1 0 0 smc G df1 setfont 0 0 m M}
-
- {df setfont 1 psx div/d0 X
- g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
- g df1 setfont s1 0 0 smc G c d0 2. div dup m M}
-
- {df setfont .03/d0 X TrapWidth dup 0 lt
- {neg psx div 0 2 copy lt{exch}if pop neg}
- {psx div 0 2 copy lt{exch}if pop}ifelse .03 add/d1 X
- g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
- s1 d0 2 div dup m M d1 0 ne{d1 0 lt{d1 neg/d1 X gtc}if
- df1 setfont s1 d0 2 div dup m M}if}
-
- {df setfont .03/d0 X 0 0 d0 d0 d0 t0
- s1 0 0 smc d0 0 smc d0 d0 smc 0 d0 m M}
-
- {df setfont
- TrapWidth dup 0 lt{neg}if psx div 0 2 copy lt{exch}if pop/d1 X
- TrapWidth 0 lt{g s1 w G setcharwidth s1 0 0 smc gtc df1 setfont}
- {d1 neg d1 neg d1 d1 0 t0 s1 dup d1 t1}ifelse 0 0 m M}
-
- {df setfont g s1 w G setcharwidth s1 0 0 m M}
- ] def
-